<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:dm="http://java.sun.com/jsf/composite/dma"
      xmlns:p="http://primefaces.org/ui">
    <h:body>
        <ui:composition template="./parent.xhtml">
            <ui:define name="body">
                <div id="_left_container">
                    <ui:insert name="content"></ui:insert>
                </div>
                <script>
                    function setHeight(){
                        var c = document.getElementById('_left_container');
                        var si= document.getElementById('_login_panel');
                        var os= document.getElementById('_online_support');
                        var hi = c.clientHeight - si.clientHeight-4;
                        os.style.height= hi+'px';
                        //                alert(hi);
                    }
                </script>
                <div id="_right_container">
                    <dm:signIn/>
                    <p:spacer height="5px"/>
                    <dm:onlineSuport/>
                </div>
                <script>    
                    setHeight();
                </script>   
            </ui:define>

        </ui:composition>
    </h:body>
</html>



